from rest_framework_mongoengine.serializers import DocumentSerializer, serializers

from models.task import ScanTaskSessions


class SerializerSessionInfo(DocumentSerializer):
    class Meta:
        model = ScanTaskSessions
        exclude = ['job_config_map', 'id']
